package cn.ly817.jay.service;

import cn.ly817.jay.entity.Note;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by LuoYu on 2016/12/7.
 */

public interface NoteService {
    //组长未处理的note数目
    int getUnhandledNumByLeaderId(Long leaderId);

    List<Note> getUnhandledNotesByLeaderId(Long leaderId);

    List<Note> getHandledNotesByLeaderId(Long leaderId);

    void saveNewMissionNote(Note missionNote);

    List getThisWeekDaily(long userId);

    void saveNewDailyNote(Note dailyNote);

    Note getDailyById(Long dailyId);

    Note getNoteDetail(long noteId);

    Note getCheckNoteById(long noteId);

    void checkSubmit(Note note);

    float getMonthScoreByUserId(long userId);
}
